package com.msl.fragment;

import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.msl.MslApp;
import com.msl.R;
import com.msl.base.BaseFragment;
import com.msl.bean.AbDcodeBean;
import butterknife.Bind;
import butterknife.ButterKnife;

public class Fragment131XSCK2 extends BaseFragment {
String tag = "Fragment131XSCK2";
    protected View mView = null;
    @Bind(R.id.tv1)
    TextView tv1;
    @Bind(R.id.tv2)
    TextView tv2;
    @Bind(R.id.tv3)
    TextView tv3;
    @Bind(R.id.tv4)
    TextView tv4;
    @Bind(R.id.tv5)
    TextView tv5;
    @Bind(R.id.tvc1)
    TextView tvc1;
    @Bind(R.id.tvc2)
    TextView tvc2;
    @Bind(R.id.tvc3)
    TextView tvc3;
    @Bind(R.id.rl1)
    RelativeLayout rl1;
    @Bind(R.id.rl2)
    RelativeLayout rl2;
    @Bind(R.id.rl3)
    RelativeLayout rl3;
    private AbDcodeBean abDcodeBean = new AbDcodeBean();

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        mView = inflater.inflate(R.layout.fragmentxsck2, null);
        ButterKnife.bind(this, mView);
        abDcodeBean = (AbDcodeBean) getActivity().getIntent().getSerializableExtra(MslApp.codedea);
        tv1.setText("出库单号:"+abDcodeBean.getData().get(0).getRelationBillCode());
        tv2.setText("收货单位:"+abDcodeBean.getData().get(0).getDesStoreName());
        tv3.setVisibility(View.GONE);
        tv4.setVisibility(View.GONE);
        tv5.setVisibility(View.GONE);
        rl1.setVisibility(View.GONE);
        rl2.setVisibility(View.GONE);
        rl3.setVisibility(View.GONE);
        return mView;
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        ButterKnife.unbind(this);
    }
}
